package com.cskaoyan.catmall.model.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author: 逍遥子
 * @Date: 2022/01/08/19:30
 * @Description:
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class RoleVo {

    private long total;
    private Integer pages;
    private Integer limit;
    private Integer page;
    private List<ListDTO> list;

    @NoArgsConstructor
    @Data
    public static class ListDTO {
        private Integer id;
        private String name;
        private String desc;
        private Boolean enabled;
        private String addTime;
        private String updateTime;
        private Boolean deleted;
    }
}
